package com.lch.designpattern.combination;

/**
 * @author: liuchenhui
 * @create: 2020-03-08 15:08
 **/
public class Menu extends Root {

    public Menu(String name) {
        super(name);
    }

    @Override
    public void show() {
        System.out.println(this.name);

    }
}
